Skip to content

Conversation

@DEberhardt
Copy link
Contributor

  • Added Validation with PHP Code Sniffer & Code Fixing
  • Renamed all snake_case Name to PHP standards
  • Refactor of Tests to remove Dummy Classes
  • Retaining 100% code coverage

DEberhardt and others added 30 commits September 7, 2025 18:27
… provider test files

- Updated test method names to follow camelCase convention in DiscordProviderTest, LaravelPassportProviderTest, SteamProviderTest, TwitchProviderTest, AbstractTicketProviderTest, FakeProviderTest, GenericTicketProviderTest, InternalTicketProviderTest, TicketTailorProviderTest, WooCommerceProviderTest, and other ticket provider tests.
- Ensured all test methods are descriptive and adhere to a consistent naming pattern for better readability and maintainability.

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…g PBPCBF on Tests)

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
… remove dummy classes

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ormers with inline classes and simplify setup

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
… inline class and simplify provider instance creation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ith inline classes and simplify provider creation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…plify provider creation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…etup

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…vider helper and simplify provider creation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…vider helper and simplify provider creation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…orProvider helper and simplify test setup

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…Provider helper and simplify test setup

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
… for improved encapsulation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
… readability and maintainability

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…etProvider, and DummyWooCommerceProvider in favor of factory-based test doubles and ReflectionHelpers

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…nd update HTTP header naming conventions for webhook requests

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…stent API endpoint usage

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…verage

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…emove unused dummy provider classes

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ControllerTest to use factories for provider settings

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
… consistency and clarity in TicketProviderContractTest

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…cketProviderContractTest for improved clarity

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ialProviderInstallTest and AbstractTransformerExtraTest for improved clarity; add config mapping validation test in GenericTicketProviderTest

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ansformerExtraTest; remove unused NoopTransformer and PrecedenceTransformer classes

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…ce with anonymous subclasses for improved clarity and maintainability

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…tory method for improved clarity and maintainability in AbstractSocialProviderResolveTest

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
@codecov
Copy link

codecov bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d3171be) to head (93a8f81).
⚠️ Report is 46 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop       #65   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity      1155      1155           
===========================================
  Files            136       136           
  Lines           4053      4053           
===========================================
  Hits            4053      4053           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

….php; instantiate GenericTicketProvider directly in config mapping tests for improved clarity

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
…e readability by adding space in class instantiation

Signed-off-by: David Eberhardt <david.eberhardt@outlook.com>
@DEberhardt
Copy link
Contributor Author

Missed my last commit which should have plugged that last gap again

@DEberhardt DEberhardt marked this pull request as ready for review September 9, 2025 17:39
@mintopia mintopia merged commit dbcf2c2 into mintopia:develop Sep 9, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants